package com.example.hosptialtag.pojo;

public class Doctor {
    private int id;
    private String name;
    private String password;
    private String oid;
    private int role;

    public Doctor(int id, String name, String password, String oid, int role) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.oid = oid;
        this.role = role;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", oid='" + oid + '\'' +
                ", role=" + role +
                '}';
    }
}
